/*
 * Created by Christopher King
 * Copyright (C) 2007 Christopher King, All Rights Reserved.
 */
package us.cirion.adventure.engine;

/**
 * Nowhere is used to place items that are not currently located anywhere in
 * the game.
 * @author Chris
 */
public class Nowhere extends ItemLocation
{

	private static Nowhere nowhere;

	static String NOWHERE = "Nowhere";

	private Nowhere()
	{
		super();
	}

	/**
	 * Retrieves the singleton instance of Nowhere.
	 * @return Singleton reference to Nowhere.
	 */
	public static Nowhere getInstance()
	{
		if (nowhere == null)
		{
			nowhere = new Nowhere();
		}
		return nowhere;
	}

	/**
	 * Provides program-readable name for the "nowhere" location.
	 * @return The name for "nowhere".
	 */
	public String toString()
	{
		return NOWHERE;
	}
}
